package com.hengxinguotong.zhihuichengjian.bean;

import java.io.Serializable;
import java.util.List;

/**
 * 菜单基类
 * Created by liux on 2017/4/18.
 */

public class MenuBean implements Serializable {
//    private String icon;
//    private String id;
//    private int isLeaf;
    private Authority auth;
    private String name;
//    private String parentId;
    private int id;
    private List<MenuBean> data;
    private boolean hasNew = false;

    public boolean isHasNew() {
        return hasNew;
    }

    public void setHasNew(boolean hasNew) {
        this.hasNew = hasNew;
    }
    //    public String getIcon() {
//        return icon;
//    }
//
//    public void setIcon(String icon) {
//        this.icon = icon;
//    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

//    public int getIsLeaf() {
//        return isLeaf;
//    }
//
//    public void setIsLeaf(int isLeaf) {
//        this.isLeaf = isLeaf;
//    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

//    public String getParentId() {
//        return parentId;
//    }
//
//    public void setParentId(String parentId) {
//        this.parentId = parentId;
//    }
//
//    public int getUrl() {
//        return url;
//    }
//
//    public void setUrl(int url) {
//        this.url = url;
//    }
//
    public List<MenuBean> getData() {
        return data;
    }

    public void setData(List<MenuBean> data) {
        this.data = data;
    }

    public Authority getAuth() {
        return auth;
    }

    public void setAuth(Authority auth) {
        this.auth = auth;
    }
}
